# $Id: PKGBUILD 76902 2012-10-02 06:43:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-convert-asn1
pkgver=0.26
pkgrel=1
pkgdesc="Perl/CPAN Module Convert::ASN1 : Standard endecode of ASN1 structures"
arch=("any")
url="http://search.cpan.org/dist/Convert-ASN1"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Convert-ASN1-$pkgver.tar.gz")
md5sums=('1c846c8c1125e6a075444abe65d99b63')

build() {
  cd $srcdir/Convert-ASN1-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
